<%--
  Created by IntelliJ IDEA.
  User: nico
  Date: 01/10/12
  Time: 16:28
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<s:textfield label="Name" name="protocolInformation.description" id="name" value="%{protocolInformation.description}"  />
<s:textfield label="Version" name="protocolInformation.version" id="version" value="%{protocolInformation.version}"/>
<s:textfield label="Comments" name="protocolInformation.comments" id="comments" value="%{protocolInformation.comments}"/>

<s:hidden  name="protocolInformation.dated" id="altdated" value="%{protocolInformation.dated}"/>
<s:textfield label="Dated" id="dated" cssClass="datepicker"/>

<s:hidden  name="protocolInformation.receivedBms" id="altreceivedBms" value="%{protocolInformation.receivedBms}"/>
<s:textfield label="Received BMS" id="receivedBms" cssClass="datepicker"/>

<s:hidden  name="protocolInformation.sentToSite" id="altsentToSite" value="%{protocolInformation.sentToSite}"/>
<s:textfield label="Sent to Site"  id="sentToSite" cssClass="datepicker"/>
<s:checkbox label="Is part of the initial package?" value="%{protocolInformation.partOfInitialPackage}" name="protocolInformation.partOfInitialPackage" id="partOfInitialPackage" />
<s:select label="Scope" name="protocolInformation.scope" id="scope"  value="%{protocolInformation.scope}"
          list="#{'1':'Site', '2':'Multi-site'}"/>
<tr><td colspan="2"><label style="padding-top: 20px; font-weight: bold;">External EC:</label></td></tr>

<s:hidden  name="protocolInformation.sentToExternalEc" id="altsentToExternalEc" value="%{protocolInformation.sentToExternalEc}"/>
<s:textfield label="Sent to external EC" id="sentToExternalEc"  cssClass="datepicker"/>

<s:hidden  name="protocolInformation.approvedExternalEc" id="altapprovedExternalEc" value="%{protocolInformation.approvedExternalEc}"/>
<s:textfield label="Approved/Notified external EC" id="approvedExternalEc" cssClass="datepicker"/>

<tr><td colspan="2"><label style="padding-top: 20px; font-weight: bold;">Local EC:</label></td></tr>

<s:hidden  name="protocolInformation.approvalExpirationEc" id="altapprovalExpirationEc" value="%{protocolInformation.approvalExpirationEc}"/>
<s:textfield label="Approval Expiration date (if applicable)" id="approvalExpirationEc" cssClass="datepicker"/>

<s:hidden  name="protocolInformation.sentToLocalEc" id="altsentToLocalEc" value="%{protocolInformation.sentToLocalEc}"/>
<s:textfield label="Sent to Local EC"  id="sentToLocalEc" cssClass="datepicker"/>

<s:hidden  name="protocolInformation.approvedLocalEc" id="altapprovedLocalEc" value="%{protocolInformation.approvedLocalEc}"/>
<s:textfield label="Approved/Notified Local EC" id="approvedLocalEc" cssClass="datepicker"/>

<tr><div id="div_">Statement indicating that investigator/study personnel did not vote (applicable when  the  investigator or study personnel is a member of the IRB/IEC)</div></tr>
<tr>
    <td><label style="display: inline">Not vote statement:</label><img class="imgInfo" src="<s:url value="/images/info.png"/>"/></td>
    <td><s:textfield theme="simple" id="cartaNoVotoLocalEc" cssClass="datepicker"/>
        <s:hidden  name="protocolInformation.cartaNoVotoLocalEc" id="altcartaNoVotoLocalEc" value="%{protocolInformation.cartaNoVotoLocalEc}"/>
    </td>
</tr>

<tr><td colspan="2"><label style="padding-top: 20px; font-weight: bold;">Teaching Committee:</label></td></tr>
<s:hidden  name="protocolInformation.expirationDateTc" id="altexpirationDateTc" value="%{protocolInformation.expirationDateTc}"/>
<s:textfield label="Expiration Date (if applicable)" id="expirationDateTc" cssClass="datepicker"/>

<s:hidden  name="protocolInformation.sentToTc" id="altsentToTc" value="%{protocolInformation.sentToTc}"/>
<s:textfield label="Sent to Teaching Committee" id="sentToTc" cssClass="datepicker"/>

<s:hidden  name="protocolInformation.approvedTc" id="altapprovedTc" value="%{protocolInformation.approvedTc}"/>
<s:textfield label="Approved/Notified Teaching Committee" cssClass="datepicker"/>

<tr>
    <td><label style="display: inline">Not vote statement:</label><img class="imgInfo" src="<s:url value="/images/info.png"/>"/></td>
    <td><s:textfield theme="simple" id="cartaNoVotoTc" cssClass="datepicker"/>
        <s:hidden  name="protocolInformation.cartaNoVotoTc" id="altcartaNoVotoTc" value="%{protocolInformation.cartaNoVotoTc}"/>
    </td>
</tr>

<s:hidden  name="protocolInformation.expirationDate" id="altexpirationDate" value="%{protocolInformation.expirationDate}"/>
<s:textfield label="Expiration Date" id="expirationDate" cssClass="datepicker"/>

<s:hidden  name="protocolInformation.coeis" id="altcoeis" value="%{protocolInformation.coeis}"/>
<s:textfield label="COEIS" id="coeis" cssClass="datepicker"/>

<s:hidden  name="protocolInformation.acknowledgementPageSigned" id="altacknowledgementPageSigned" value="%{protocolInformation.acknowledgementPageSigned}"/>
<s:textfield label="Study or Amendment Acknowledgment page signed(PI)" id="acknowledgementPageSigned" cssClass="datepicker"/>

<s:hidden  name="protocolInformation.cartaAnmat" id="altcartaAnmat" value="%{protocolInformation.cartaAnmat}"/>
<s:textfield label="ANMAT Amendment acknowledgment" id="cartaAnmat" cssClass="datepicker"/>

<s:hidden  name="protocolInformation.sentToCcis" id="altsentToCcis" value="%{protocolInformation.sentToCcis}"/>
<s:textfield label="Sent to CCIS" id="sentToCcis" cssClass="datepicker"/>

<s:hidden  name="protocolInformation.approvalCcis" id="altapprovalCcis" value="%{protocolInformation.approvalCcis}"/>
<s:textfield label="CCIS Approval" id="approvalCcis" cssClass="datepicker"/>

<s:hidden  name="protocolInformation.sentToMoh" id="altsentToMoh" value="%{protocolInformation.sentToMoh}"/>
<s:textfield label="Sent to MOH"  id="sentToMoh" cssClass="datepicker"/>

<s:hidden  name="protocolInformation.approvalMoh" id="altapprovalMoh" value="%{protocolInformation.approvalMoh}"/>
<s:textfield label="MOH approved/notified" id="approvalMoh" cssClass="datepicker"/>

<s:hidden  name="protocolInformation.readyForImplementation" id="altreadyForImplementation" value="%{protocolInformation.readyForImplementation}"/>
<s:textfield label="Ready for site implementation" id="readyForImplementation" cssClass="datepicker"/>

<tr>
    <td colspan="2" style="text-align: center">
        <s:submit value="Save" id="protocolInformationSave" action="protocolInformationSave" onclick="setEmptyDates();validate();beforeSave();" theme="simple" />
    </td>
</tr>
<s:if test="protocolInformation.id != null">
    <tr>
        <td colspan="2" style="text-align: center">
            <button id="protocolInformationClear" onclick="$('#category').change(); $('html, body').animate({ scrollTop:  $('#category').offset().top - 15 }); return false;">Clear</button>
        </td>
    </tr>
</s:if>
<s:hidden name="protocolInformation.id" value="%{protocolInformation.id}"/>
<script>
    inicializarTodaFecha();
</script>
<s:if test="protocolInformation.id != null">
    <script type="text/javascript">
        $('#scope').parent().parent().remove();
    </script>
</s:if>